<template>
  <div>
    <van-nav-bar
      title="你期望的职位"
      left-text="返回"
      right-text=""
      left-arrow
      @click-left="onClickLeft"
      @click-right="onClickRight"
    />
    <div class="content">
      <form2-content ref="form2_child"></form2-content>
    </div>
  </div>
</template>

<script>
import Form2Content from "../../components/page2/form2-content";

export default {
  name: 'page2',
  components: {Form2Content},
  data () {
    return {}
  },
  mounted () {
    this.$store.dispatch('active', 1)
  },
  methods: {
    onClickLeft () {
      this.$router.push('/')
      this.$store.state.active--
    },
    onClickRight () {
    }
  }
}
</script>

<style lang="scss" scoped>
.content {
  padding: 20px 10px;
}
</style>
